//
//  WorkReportCell.m
//  Utils
//
//  Created by enghou on 2018/6/4.
//  Copyright © 2018年 xyxorigation. All rights reserved.
//

#import "WorkReportCell.h"

@interface WorkReportCell()

@property (weak, nonatomic) IBOutlet UIImageView *typeImageView;

@property (weak, nonatomic) IBOutlet UILabel *userNameLbl;

@property (weak, nonatomic) IBOutlet UILabel *timeLabel;

@property (weak, nonatomic) IBOutlet UILabel *titleLbl;

@property (weak, nonatomic) IBOutlet UILabel *contentLbl;

@end

@implementation WorkReportCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

-(void)setModel:(WorkReportItemModel *)model{
    _model = model;
    self.userNameLbl.text = _model.workUserName;
    self.timeLabel.text = _model.workTime;
    self.titleLbl.text = _model.title;
    self.contentLbl.text = _model.workContent;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
